<layout name="master" />
<div class="breadcrumbs">
    <div class="container">
        <a href="http://www.cy816.cn/xm">首页</a><span class="sep">&gt;</span><span>个人中心</span> </div>
</div>

<div class="page-main user-main">
    <div class="container">
        <div class="row">
            <div class="span4">
                <div class="uc-box uc-sub-box">
                    <div class="uc-nav-box">
                        <div class="box-hd">
                            <h3 class="title">订单中心</h3>
                        </div>
                        <div class="box-bd">
                            <ul class="uc-nav-list">
                                <li>
                                    <a href="{:u('home/user/order')}">我的订单</a>
                                </li>
                                <li>
                                    <a href="{:u('home/user/comment')}">评价晒单</a>
                                </li>
                            </ul>
                        </div>
                    </div>
                    <div class="uc-nav-box">
                        <div class="box-hd">
                            <h3 class="title">个人中心</h3>
                        </div>
                        <div class="box-bd">
                            <ul class="uc-nav-list">
                                <li class="active">
                                    <a href="{:u('home/user/index')}">我的个人中心</a>
                                </li>
                                <li>
                                    <a href="{:u('home/user/address')}">收货地址</a>
                                </li>
                            </ul>
                        </div>
                    </div>
                    <!--<div class="uc-nav-box">
                        <div class="box-hd">
                            <h3 class="title">售后服务</h3>
                        </div>
                        <div class="box-bd">
                            <ul class="uc-nav-list">
                                <li>
                                    <a href="http://service.order.mi.com/record/list?_r=58750.1489061538" data-stat-id="cee379f43f5f5fc2" onclick="_msq.push(['trackEvent', '45a270e10b1f8e93-cee379f43f5f5fc2', 'http://service.order.mi.com/record/list', 'pcpid', '']);">服务记录</a>
                                </li>
                                <li>
                                    <a href="http://service.order.mi.com/apply/front?_r=58750.1489061538" data-stat-id="ea8d1b6b70410c1b" onclick="_msq.push(['trackEvent', '45a270e10b1f8e93-ea8d1b6b70410c1b', 'http://service.order.mi.com/apply/front', 'pcpid', '']);">申请服务</a>
                                </li>
                                <li>
                                    <a href="http://service.order.mi.com/user/compensate?_r=58750.1489061538" data-stat-id="5aedd7982a0a1069" onclick="_msq.push(['trackEvent', '45a270e10b1f8e93-5aedd7982a0a1069', 'http://service.order.mi.com/user/compensate', 'pcpid', '']);">领取快递报销</a>
                                </li>
                            </ul>
                        </div>
                    </div>-->
                    <div class="uc-nav-box">
                        <div class="box-hd">
                            <h3 class="title">账户管理</h3>
                        </div>
                        <div class="box-bd">
                            <ul class="uc-nav-list">
                                <li>
                                    <a href="https://account.xiaomi.com/" target="_blank" data-stat-id="35eef2fd7467d6ca">个人信息</a>
                                </li>
                                <li>
                                    <a href="https://account.xiaomi.com/pass/auth/security/home#service=setPassword" target="_blank" data-stat-id="ae5ee0188510f1e6">修改密码</a>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>

            <div class="span16">
                <div class="protal-content-update hide">
                    <div class="protal-username">
                        Hi, 184082827 </div>
                    <p class="msg">我们做了一个小升级：你的用户名可以直接修改啦，去换个酷炫的名字吧。
                        <a href="https://account.xiaomi.com/pass/auth/profile/home" target="_blank" data-stat-id="a7bae9e996d7d321"> 立即前往&gt;</a>
                    </p>
                </div>
                <div class="uc-box uc-main-box">
                    <div class="uc-content-box portal-content-box">
                        <div class="box-bd">
                            <div class="portal-main clearfix">
                                <div class="user-card">
                                    <h2 class="username">{$user['uname']}</h2>
                                    <p class="tip">欢迎回来~</p>
                                    <a class="link" href="https://account.xiaomi.com/pass/userInfo" target="_blank" data-stat-id="4b099f76f8f470d2">修改个人信息 &gt;</a>
                                    <img class="avatar" src="https://account.xiaomi.com/static/img/passport/photo.jpg" width="150" height="150" alt="184082827">
                                </div>
                                <div class="user-actions">
                                    <ul class="action-list">
                                        <li>账户安全：
                                            <?php if($user['umb'] and $user['uemail']){ ?><span class="level level-3">较高</span>
                                            <?php }elseif($user['umb'] or $user['uemail']){ ?><span class="level level-2">一般</span>
                                            <?php }else{ ?><span class="level level-1">较低</span>
                                            <?php } ?>
                                        </li>
                                        <li>绑定手机：<span class="tel"><if condition="$user['umb']">{$user['umb']}<else/>暂无</if></span></li>

                                        <li>绑定邮箱：<span class="tel"><if condition="$user['uemail']">{$user['uemail']}<else/>暂无</if></span></li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

